package inject

import (
	digstarter "github.com/kordar/dig-starter"
	"labelsys/dataset/controller"
)

func ControllerProvider() {

	digstarter.ProvideE(func(p ControllerParams) (ControllerResult, error) {
		return ControllerResult{
			DatasetController: controller.NewDatasetController(p.DatasetUploadService),
		}, nil
	})

}
